import java.util.Scanner;

public class 小欧的奇数 {
    //https://www.nowcoder.com/practice/aef41039765b433998812b9e9cfe02c2?tpId=376&tqId=10960028&ru=/exam/oj&qru=/ta/15-days-help/question-ranking&sourceUrl=%2Fexam%2Foj%3FquestionJobId%3D10%26subTabName%3Donline_coding_page
    //模拟 + 一点点的数学
    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int[] arr = new int[n];
        for(int i = 0;i < n;i++){
            arr[i] = in.nextInt();
        }
        //必须要有三个奇数, 或者两个偶数一个奇数
        int a = 0;//代表奇数
        int b = 0;//代表偶数
        for(int i = 0;i < n;i++){
            if((arr[i] & 1) == 1){
                a++;
            }else{
                b++;
            }
            if(a >= 3 ||(a >= 1 && b >= 2)){
                System.out.println("YES");
                return;
            }
        }
        System.out.println("NO");
    }
}
